mui.init({
	preloadPages:[
	    {
	      url:'reset_password.html',
	      id:'reset_password'
	    }
	]
});

document.getElementById("find").addEventListener('tap', function () {
	var check = true;
	mui("input").each(function() {
	//若当前input为空，则toast提醒 
	if(!this.value || this.value.trim() == "") {
	    var label = this.previousElementSibling;
	    mui.toast(label.innerText + "不允许为空");
	    check = false;
	    return false;
	}
	}); //校验通过，继续执行业务逻辑 
	if(check){
	   	mui.openWindow({
			url: 'reset_password.html', 
			id:'reset_password'
	});
	}
})